#pragma once
#include <afxdialogex.h>
#include <cppjieba/MixSegment.hpp>

class CSegDlg :
	public CDialogEx
{
public:
	CSegDlg() noexcept : CDialogEx(IDD_SEGDLG)
	{
	}

	cppjieba::MixSegment *seg;
	struct _BUF
	{
		char *buf = new char[128];
		int buflen = 128;
		wchar_t *wbuf = new wchar_t[128];
		int wbuflen = 128;
		~_BUF() {
			delete[] buf;
			delete[] wbuf;
		}
	} buffer;

public:
	afx_msg void OnEnChangeEdit1();
	DECLARE_MESSAGE_MAP()
};

